<#include "header.htm"/>

<div id="tabs">
			<ul>
				<li><a href="${JForumContext.encodeURL("/admBase/login")}"><span>${I18n.getMessage("Admin.general")}</span></a></li>
	
			
				<li><a href="${contextPath}/adminGroups/list${extension}"><span>${I18n.getMessage("Admin.groups")}</span></a></li>
				<li><a href="${contextPath}/adminUsers/list${extension}"><span>${I18n.getMessage("Admin.users")}</span></a></li>
				<li><a href="${contextPath}/adminCategories/list${extension}"><span>${I18n.getMessage("Admin.categories")}</span></a></li>				
				<li><a href="${contextPath}/adminForums/list${extension}"><span>${I18n.getMessage("Admin.forums")}</span></a></li>
				<li><a href="${contextPath}/adminModeration/list${extension}"><span>${I18n.getMessage("Admin.approving")}</span></a></li>
			
				<li><a href="${contextPath}/adminRankings/list${extension}"><span>${I18n.getMessage("Admin.rankings")}</span></a></li>				
				<li><a href="${contextPath}/adminBanning/list${extension}"><span>${I18n.getMessage("Admin.banning")}</span></a></li>
				
				
				
				
				<li><a href="${contextPath}/adminConfig/list${extension}"><span>${I18n.getMessage("Admin.configurations")}</span></a></li>
			
				<li><a href="${contextPath}/adminSmilies/list${extension}"><span>${I18n.getMessage("Admin.smilies")}</span></a></li>
			
				<li><a href="${contextPath}/adminSearchStats/list${extension}"><span>${I18n.getMessage("Admin.search")}</span></a></li>
			
				<li><a href="${contextPath}/adminAttachments/configurations${extension}"><span>${I18n.getMessage("Admin.attachments")}</span></a></li>
			
				<li id="activetab"><a href="${contextPath}/adminCache/list${extension}"><span>${I18n.getMessage("Admin.cache")}</span></a></li>
			
			</ul>
</div>
<div id="acp">
		<div class="panel">
			<span class="corners-top"><span></span></span>
				<div id="content">
<#setting number_format = "#"/>


<h2>${I18n.getMessage("Cache.adminTitle")}</h2>
<p>${I18n.getMessage("Cache.danger")}</p>

<table cellspacing="1">
        <caption>${I18n.getMessage("AdminAttachments.existingExtensions")}</caption>
		<tr>
			<th style="text-align: center;">${I18n.getMessage("Cache.name")}</th>
			<th style="text-align: center;">${I18n.getMessage("Cache.size")}</th>
			<th style="text-align: center;">${I18n.getMessage("Cache.action")}</th>
		</tr>

	<tr class="row1">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.bbCode")}</span></td>
		<td style="text-align: center;"><span class="gen">${bb.getBBCollection().getBbList().size() + bb.getBBCollection().getAlwaysProcessList().size()}</span></td>
		<td style="text-align: center;">
			<a href="${contextPath}/jforum${extension}?module=adminCache&action=bbReload">${I18n.getMessage("Cache.reload")}</a>
		</td>
	</tr>

	<!-- Session -->
	<tr class="row2">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.sessions")}</span></td>
		<td style="text-align: center;"><span class="gen">${session.size()}</span></td>
		<td style="text-align: center;">
			<a class="gen" href="${contextPath}/jforum${extension}?module=adminCache&action=sessionClear">${I18n.getMessage("Cache.clear")}</a>
		</td>
	</tr>

	<!-- Modules -->
	<tr class="row1">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.modules")}</span></td>
		<td style="text-align: center;"><span class="gen">${modules.size()}</span></td>
		<td style="text-align: center;">
			<a class="gen" href="${contextPath}/jforum${extension}?module=adminCache&action=modulesReload">${I18n.getMessage("Cache.reload")}</a>
		</td>
	</tr>

	<!-- Smilies -->
	<tr class="row2">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.smilies")}</span></td>
		<td style="text-align: center;"><span class="gen">${smilies.getSmilies().size()}</span></td>
		<td style="text-align: center;">
			<a class="gen" href="${contextPath}/jforum${extension}?module=adminCache&action=smiliesReload">${I18n.getMessage("Cache.reload")}</a>
		</td>
	</tr>

	<!-- Ranking -->
	<tr class="row1">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.ranking")}</span></td>
		<td style="text-align: center;"><span class="gen">${ranking.size()}</span></td>
		<td style="text-align: center;">
			<a class="gen" href="${contextPath}/jforum${extension}?module=adminCache&action=rankingReload">${I18n.getMessage("Cache.reload")}</a>
		</td>
	</tr>

	<!-- Topics -->
	<tr class="row2">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.topic")}</span></td>
		<td style="text-align: center;"><span class="gen">&nbsp;</span></td>
		<td style="text-align: center;">
			<a class="gen" href="${contextPath}/jforum${extension}?module=adminCache&action=topicsMoreInfo">${I18n.getMessage("Cache.moreInfo")}</a>
		</td>
	</tr>

	<!-- Posts -->
	<tr class="row1">
		<td style="text-align: center;"><span class="gen">${I18n.getMessage("Cache.posts")}</span></td>
		<td style="text-align: center;"><span class="gen">${posts.size()} ${I18n.getMessage("Cache.topic")}</span></td>
		<td style="text-align: center;">
			<a class="gen" href="${contextPath}/jforum${extension}?module=adminCache&action=postsMoreInfo">${I18n.getMessage("Cache.moreInfo")}</a>
		</td>
	</tr>
</table>

</div>
	<span class="corners-bottom"><span></span></span>
</div>
</div>

<#include "bottom.htm"/>